import Mock from "mockjs";
import banner from "./banner.json";
import floor from "./floor.json";



//第一个参数为请求的地址，第二个为请求数据
Mock.mock("/mock/banner", {
 code:20,data:banner   //模拟首页大轮播图数据
}
);
Mock.mock("/mock/floor", {
    code:20,data:floor  
   }
   )

















